#!/usr/bin/python3
# _*_ coding: utf-8 _*_
#
# Copyright (C) 2024 - 2024 heihieyouheihei, Inc. All Rights Reserved 
#
# @Time    : 2024/8/19 0:03
# @Author  : Yuyun
# @File    : 单组 补充前导零.py
# @IDE     : PyCharm


n = int(input())
print("{:09d}".format(n))
print(f"{n:09d}")
print('%09d' % n)       #补充前导0
print('%005d' % n)
print('%15d' % n)       #默认补充空格，至总数15位
print('%015d' % n)

#其他方法
import sys

for line in sys.stdin:
    line = line[:-1]
    for _ in range(9 - len(line)):
        print(0, end="")
    print(line)